package com.communal.model.tarif;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.communal.model.ModelEntity;

/**
 * 
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
@MappedSuperclass
public class Tarif extends ModelEntity implements Serializable{

	private static final long serialVersionUID = 6558231857443448396L;
	
	@Column(name = "tarif_name", unique = false, nullable = false, insertable = true, updatable = true, length = 150)
	private String tarifName;
	
	/**
	 * Returns name of tarif which will be displayed to user <br>
	 * @return {@link String};
	 */
	public String getTarifName() {
		return tarifName;
	}

	/**
	 * Sets name of tarif which will be displayed to user <br>
	 * @param p_tarifName - {@link String};
	 */
	public void setTarifName(String p_tarifName) {
		tarifName = p_tarifName;
	}
}
